<!--{include file="<!--{$oetplpath}-->block_header.tpl"}-->  
<!--{include file="<!--{$oetplpath}-->block_top.tpl"}-->
<div class="oe_umain">
  <!--{include file="<!--{$oetplpath}-->block_index_left.tpl"}-->
  <div class="right">
    <div class="oe_four"><a href="<!--{$oefile}-->&c=recharge">
      <dl class="dl_1 current">
        <dt><span></span></dt>
        <dd>
          <em><!--{doubleval($login.info.money)}--></em><!--{$config.moneyname}--> <i>|</i> 
          在线充值
        </dd>
      </dl>
      </a>
      <a href="<!--{$oefile}-->&c=friendapply">
      <dl class="dl_2 ">
        <dt><span></span></dt>
        <dd>
		  <em><!--{countdata type="user" mod="friend" where="v.userid='<!--{$login.info.userid}-->'"}--></em> 个好友 <i>|</i> 好友申请
		</dd>
      </dl>
      </a>
      <a href="<!--{$oefile}-->&c=vip">
      <dl class="dl_3">
        <dt><span></span></dt>
        <dd>
		  <em><!--{$login.group.groupname}--></em> <i>|</i> 升级会员
		</dd>
      </dl>
      </a>
      <a href="<!--{$oefile}-->&c=msgcontact">
      <dl class="dl_4">
        <dt><span></span></dt>
        <dd>
		  <!--{assign var="new_msg" value=<!--{countdata type='user' mod='message' where="v.touid='<!--{$login.info.userid}-->' AND v.flag='1' AND v.readstatus='0' AND v.todel='0'"}-->}-->
		  <em><!--{$new_msg}--></em> 条未读 <i>|</i> 我的私信
		</dd>
      </dl>
      </a>
      <div class="clear"></div>
    </div>

    <div class="oe_today">
      <div class="hd">
	    每日情缘
		<span>
		<!--{area type="text" value=$login.cond.area1}--> <!--{area type="text" value=$login.cond.area2}-->
		<!--{if $login.cond.age1 > 0 && $login.cond.age2 > 0}-->
		<!--{$login.cond.age1}-->-<!--{$login.cond.age2}-->岁 
		<!--{/if}-->
		<!--{if !empty($login.cond.marry)}-->
		<!--{hook mod="var" item="marry" type="multi" value=$login.cond.marry}-->
		<!--{/if}-->
		<!--{if $login.info.gender == '1'}-->
		的女士
		<!--{else}-->
		的男士
		<!--{/if}-->
		</span>
        <label onclick="window.location.href='<!--{$oefile}-->&c=profile&a=cond';">
		  <i class="iconfont"></i>修改择偶条件
		</label>
      </div>
      <div class="bd" id="match_data">
	    Loading....
      </div>
	  <div class="clear"></div>
    </div>
	<script type="text/javascript">
	$(function(){
		//发私信
		$(document).on("mouseover", "[b='like_show_send']", function(){
			if (!$(this).hasClass("current")) {
				$(this).addClass("current");
			}
		});
		$(document).on("mouseout", "[b='like_show_send']", function(){
			if ($(this).hasClass("current")) {
				$(this).removeClass("current");
			}
		});
		$.ajax({
			type: "POST",
			url: _ROOT_PATH+"index.php?m=user&c=index",
			cache: false,
			data: {a:"match", r:get_rndnum(8)},
			dataType: "json",
			success: function($data) {
				$json = eval($data);
				$response = $json.response;
				$result = $json.result;
				if ($response == "1") {
					$("#match_data").html("");
					$("#match_data").html($result);
				}
			},
			error: function() {
				ToastShow("系统繁忙，请稍后再试");
			}
		});
		
	});
	</script>
	<!--//oe_today End-->
	<!--{include file="<!--{$uctplpath}-->block_search.tpl"}-->
  </div>
  <div class="clear"></div>
</div>
<!--{include file="<!--{$uctplpath}-->block_footer.tpl"}-->
</body>
</html>